
package cn.iocoder.yudao.module.measure.dal.dataobject.point;

import lombok.*;

import java.time.LocalDate;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * 测量点信息 DO
 *
 * @author 超级管理员
 */
@TableName("business_measure_point_info")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MeasurePointInfoDO extends BaseDO {

    /**
     * 数据id
     */
    @TableId
    private Long id;
    /**
     * 租户id
     */
    private Long createdOrgId;
    /**
     * 关联设备树id
     */
    private Long deviceTreeId;
    /**
     * 监测点名称
     */
    private String measurePointName;
    /**
     * 监测点编号
     */
    private String measurePointNo;
    /**
     * dtuId
     */
    private Long dtuInfoId;
    /**
     * 检测表协议
     */
    private Long protocolId;
    /**
     * CT变比
     */
    private BigDecimal ctRate;
    /**
     * PT变比
     */
    private BigDecimal ptRate;
    /**
     * 监测表号
     */
    private String measureMeterNo;
    /**
     * 监测表容量
     */
    private String measureMeterContant;
    /**
     * 安装日期
     */
    private LocalDate installDate;
    /**
     * 接线方式
     */
    private String connectWay;
    /**
     * 电压
     */
    private String voltageType;
    /**
     * 电流
     */
    private String currentType;
    /**
     * 设备注册id
     */
    private String regId;


}
